proc chanmodes {nick chan otbn1 host} {

  global home botnick bcast

  # Is the channel given is invalid, give error message
  if {![validchan $chan]} {
    putquick "NOTICE $nick :\0034ERROR: \002$chan\002 is not a registered channel."
    return 0
  } 

  # Can't do anything if bot is not on the channel
  if {![onchan $otbn1 $chan]} {
    putquick "NOTICE $nick :\0034ERROR: \002$otbn1\002 isn't in $chan"
    return 0
  }

  # Display channel modes to the user
  foreach xchanmode [channel info $chan] {
  
  }

  return 0
}











